#ifndef APPEALWINDOW_H
#define APPEALWINDOW_H

#include <QWidget>

namespace Ui {
class appealwindow;
}

class appealwindow : public QWidget
{
    Q_OBJECT

public:
    explicit appealwindow(QWidget *parent = nullptr);
    ~appealwindow();

private slots:
    void on_pushButton_2_clicked();
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);

private:
    Ui::appealwindow *ui;
    QPoint initialMousePosition;
    bool isDragging = false;

public:
    void setText(QString text);
};

#endif // APPEALWINDOW_H
